const statsColumns = {
  list: [
    {
      title: '#',
      scopedSlots: { customRender: 'ix' },
      width: '60px'
    },
    {
      title: '合同编号',
      dataIndex: 'contract_no',
      scopedSlots: { customRender: 'contract_no' },
      width: '180px'
    },
    {
      title: '打款时间',
      dataIndex: 'payment_time',
      width: '160px',
      sorter: true
    },
    {
      title: '打款金额',
      dataIndex: 'amount',
      scopedSlots: { customRender: 'amount' },
      width: '130px',
      sorter: true
    },
    // {
    //   title: '发票税费',
    //   dataIndex: 'tax_point',
    //   scopedSlots: { customRender: 'tax_point' },
    //   width: '130px'
    // },
    {
      title: '代理费',
      dataIndex: 'agency_fee',
      scopedSlots: { customRender: 'agency_fee' },
      width: '130px',
      sorter: true
    },
    {
      title: '返款金额',
      dataIndex: 'refund_fee',
      scopedSlots: { customRender: 'refund_fee' },
      width: '130px',
      sorter: true
    },
    {
      title: '收款账户',
      dataIndex: 'receive_account_type'
    },
    {
      title: '审核时间',
      dataIndex: 'check_time',
      width: '160px',
      sorter: true
    },
    {
      title: '打款类型',
      dataIndex: 'type',
      scopedSlots: { customRender: 'type' }
    },
    {
      title: '顾问/组别/组长',
      width: '130px',
      dataIndex: 'adviser_name',
      scopedSlots: { customRender: 'adviser_name' }
    },
    {
      title: '备注',
      dataIndex: 'remarks',
      ellipsis: true
    }
  ],
  cost: [
    {
      title: '合同编号'
    },
    {
      title: '业务编号'
    },
    {
      title: '业务价格'
    },
    {
      title: '业务官费'
    },
    {
      title: '已付成本'
    },
    {
      title: '付款时间'
    }
  ],
  invoice: [
    {
      title: '#',
      scopedSlots: { customRender: 'ix' }
    },
    {
      title: '组长姓名',
      dataIndex: 'leader_name'
    },
    {
      title: '顾问姓名/组别/组长',
      dataIndex: 'adviser_name',
      scopedSlots: { customRender: 'adviser_name' }
    },
    {
      title: '最后一次开票时间',
      dataIndex: 'invoice_time'
    },
    {
      title: '总开票数',
      dataIndex: 'num'
    }
  ],
  agency: [
    {
      title: '顾问姓名'
    },
    {
      title: '客户姓名'
    },
    {
      title: '打款金额'
    },
    {
      title: '代理费'
    },
    {
      title: '税费'
    },
    {
      title: '尾款'
    }
  ],
  business: [
    {
      title: '顾问姓名/组别/组长',
      dataIndex: 'username',
      scopedSlots: { customRender: 'username' }
    },
    {
      title: '合同编号',
      dataIndex: 'contract_no'
    },
    {
      title: '业务编号',
      dataIndex: 'business_no'
    },
    {
      title: '业务类型',
      dataIndex: 'business_name'
    },
    {
      title: '业务官费',
      dataIndex: 'official_fee',
      sorter: true
    },
    {
      title: '业务开启时间',
      dataIndex: 'open_time',
      sorter: true
    },
    {
      title: '第1次付成本',
      dataIndex: 'first_cost',
      scopedSlots: { customRender: 'first_cost' },
      sorter: true
    },
    {
      title: '付款时间',
      dataIndex: 'first_cost_time',
      scopedSlots: { customRender: 'first_cost_time' },
      sorter: true
    },
    {
      title: '第2次付成本',
      dataIndex: 'second_cost',
      scopedSlots: { customRender: 'second_cost' },
      sorter: true
    },
    {
      title: '付款时间',
      dataIndex: 'second_cost_time',
      scopedSlots: { customRender: 'second_cost_time' },
      sorter: true
    },
    {
      title: '首次打款时间',
      dataIndex: 'first_payment',
      scopedSlots: { customRender: 'first_payment' }
    },
    {
      title: '尾款打款时间',
      dataIndex: 'last_payment',
      scopedSlots: { customRender: 'last_payment' }
    }
  ],
  b_state: [
    {
      title: '业务名称',
      dataIndex: 'name',
      width: '500px'
    },
    {
      title: '业务总量',
      dataIndex: 'con_num',
      scopedSlots: { customRender: 'con_num' },
      sorter: true
    },
    {
      title: '业务官费',
      dataIndex: 'official_fee',
      scopedSlots: { customRender: 'official_fee' }
    }
    // {
    //   title: '占比',
    //   dataIndex: 'ratio',
    //   scopedSlots: { customRender: 'ratio' }
    // }
  ]
}

export default statsColumns
